package user;
import java.util.Scanner;
public class AdminUser extends User{
    public Scanner sca=new Scanner(System.in);
    public AdminUser(String name,int uid){
        super(name, uid, "管理员");
    }

    @Override
    public int display() {
        System.out.println("管理员"+this.getName()+"的操作菜单：");
        System.out.println("1.查找图书");
        System.out.println("2.打印所有图书");
        System.out.println("3.退出系统");
        System.out.println("4.上架图书");
        System.out.println("5.下架图书");
        System.out.println("6.修改图书");
        System.out.println("7.统计借阅次数");
        System.out.println("8.查看最受欢迎的前K本书");
        System.out.println("9.查看库存状态");
        System.out.println("10。检查超过一年未下架的书");
        System.out.println("请选择你的操作：");
        return sca.nextInt();
    }
    public void addBook() {
        System.out.println("Admin类addBook方法执行了");
        //library.addBook();
    }
    public void updateBook() {

    }

    public void removeBook() {

    }

    public void borrowCount() {

    }

    public void generateBook() {

    }

    public void checkInventoryStatus() {

    }

    public void checkAndRemoveOldBooks() {

    }

    public void exit() {

    }
}
